package com.guli.common.constant;
/*
 * @Author 罗
 * @date 2020/10/18 - 3:16 下午
 */

public class AuthServerConstant {

    public static final String VERIFICATION_CODE_PREFIX = "sms::code::";

    public static final String PHONE_NUMBER_REGEX = "^((13[0-9])|(14[5|7])|(15([0-3]|[5-9]))|(18[0,5-9]))\\d{8}$";



    /**
     * Session 相关
     * 存储已登陆用户的 member 信息
     * */
    public static final String LOGIN_USER_SESSION = "loginUserSession";

    //public static final String LOGIN_USER_KEY = "login-user-key";

    /**
     * cookie 相关
     * */
    public static final String SSO_AUTH_SERVER_COOKIE = "sso-auth-server-cookie";

    public static final String FINAL_URL_AFTER_LOGIN = "finalUrl";

    /**
     * 登陆地址
     * */
    public static final String LOGIN_URL = "http://auth.guli.com/login.html";
}
